package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class EnrollmentUpdateDTO extends AdminUpdate {
    @ApiModelProperty("课程编号")
    @NotNull(message = "课程编号不能为空")
    private Long cid;

    @ApiModelProperty("用户编号")
    @NotNull(message = "用户编号不能为空")
    private Long uid;

    @ApiModelProperty("用户名")
    private String uname;
}
